package blog.dao;

import blog.entity.Blog;
import blog.util.PageModel;

public interface BlogDao {
	public boolean saveBlog(Blog blog);

	public boolean updateBlog(Blog blog);

	public boolean deleteBlog(int blogId);

	public boolean deleteBlog(Blog blog);

	public Blog getBlog(int blogid);

	public PageModel getBlog(int pageNo, int pageSize);

	public PageModel getBlog(int cateid, int pageNo, int pageSize);
	
}
